﻿using BoriPeter.FatSecret.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BoriPeter.FatSecret.Messages
{
    public class FoodEntriesGetMonth : FatSecretMessageBase<FoodEntriesGetMonthModel>
    {
        private const string METHOD_VALUE = "food_entries.get_month";
        private const string DATE = "date";

        public FoodEntriesGetMonth(DateTime _date) : base()
        {
            AddRequestParameter(METHOD, METHOD_VALUE);
            AddRequestParameter(DATE, _date);
        }

        public FoodEntriesGetMonth() : base()
        {
            AddRequestParameter(METHOD, METHOD_VALUE);
        }   
    }
}
